<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<SCRIPT for="window" event="onload">
<!--
	document.all[document.all.PDFNotKnown ? "IfNoAcrobat" : "IfAcrobat"].style.display = "block";
//-->
</SCRIPT>
<title>Insert title here</title>
</head>
<body>
<%
String   url=request.getScheme()+"://";   
url+=request.getHeader("host");   
/* System.out.println(url);
url+=request.getRequestURI();   
System.out.println(url);
if(request.getQueryString()!=null)   
    url+="?"+request.getQueryString();    */
System.out.println(url);
%>
	<NOSCRIPT>
		Cannot determine if you have Acrobat Reader (or the full Acrobat)
		installed <FONT size="-1">(because JavaScript is unavailable or
			turned off)</FONT>.
	</NOSCRIPT>
	<DIV id="IfNoAcrobat" style="display: none">
		你需要先安装Adobe Reader才能正常浏览文件
	</DIV>
	<OBJECT type="application/pdf" width=0 height=0 style="display: none">
		<DIV id="PDFNotKnown" style="display: none">&nbsp;</DIV>
	</OBJECT>
	<DIV id=showdiv
		style="Z-INDEX: 0; LEFT: 10px; WIDTH: 990px; POSITION: absolute; TOP: -8px; HEIGHT: 10px">
		<object classid="clsid:CA8A9780-280D-11CF-A24D-444553540000"
			width="990" height="700" border="0" top="-10" name="pdf">
			<param name="toolbar" value="false">
			<param name="_Version" value="65539">
			<param name="_ExtentX" value="20108">
			<param name="_ExtentY" value="10866">
			<param name="_StockProps" value="0">
			<param name="SRC" value="<%=url+"/wdgl/files" %>/<s:property value="#session.pdfpath"/>">
		</object>
	</DIV>
</body>
</html>